import requests


def test_weather():
    url = 'http://www.weather.com.cn/data/cityinfo/101280601.html'
    resp = requests.get(url=url)
    print(resp.text)
    print(resp.json())

def test_httpbin():
    url = 'https://www.httpbin.org/get'
    resp = requests.get(url=url, params={'msg': '中文'})
    print(resp.json())